﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.SeedWork;

namespace Windows.Admin.Domain
{
    public partial class Employee : FullEntity<long>
    {
        public long? UserId { get; set; }
        public virtual string Number { get; set; } = "";
        public virtual string IDCard { get; set; } = "";
        public virtual string Name { get; set; } = "";
        public virtual bool Gender { get; set; }
        public virtual bool Marriage { get; set; }
        public virtual int Education { get; set; }
        public virtual string MobilePhone { get; set; } = "";
        public virtual string? Email { get; set; }
        public virtual string? Address { get; set; }
        public virtual DateTime HireDate { get; set; } = DateTime.Now;
        public virtual DateTime? TermDate { get; set; }
        public virtual int Status { get; set; }
        public string? Avatar { get; set; }
        public virtual string? Remark { get; set; }
        public virtual User? User { get; set; }
        public virtual ICollection<Organization_Employee>? Organization_Employees { get; set; }
    }
}
